package com.ssm.service;

import com.ssm.entity.Department;
import com.ssm.entity.Employee;

import java.util.List;

public interface UserService {
    int add(Employee employee);
    int update(Employee employee);
    int del(Long id);
    List<Employee> getall(String realname);
    Employee get(Long id);
    List<Department> list();
}
